const { DataTypes } = require('sequelize')
const sequelize = require('./db')

const Announcement = sequelize.define(
  'announcement',
  {
    geojson: {
      type: DataTypes.TEXT,
    },
  },
  {
    paranoid: true, // 软删除
  }
)

module.exports = Announcement
